/* eslint-disable @typescript-eslint/no-explicit-any */
import { withInstall } from '@ibiz-template/vue3-util';
import { registerPanelItemProvider } from '@ibiz-template/runtime';
import { GroupSearch } from './group-search';
import { GroupSearchProvider } from './group-search.provider';

export * from './interface';
export * from './group-search.controller';

export const IBizGroupSearch = withInstall(GroupSearch, (_v: any) => {
  _v.component(GroupSearch.name!, GroupSearch);
  registerPanelItemProvider(
    'CUSTOM_GROUP_SEARCHBAR',
    () => new GroupSearchProvider(),
  );
});
